package com.xnewtech.xplatform.swan.libs.config;

import com.xnewtech.xplatform.swan.libs.validator.aop.ParamValidateAop;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 参数校验配置
 *
 * @author xnew
 * @date 2018-07-23-下午5:55
 */
@Configuration
public class ValidatorConfig {

    @Bean
    public ParamValidateAop paramValidateAop() {
        return new ParamValidateAop();
    }
}
